photo.rectify

## NAME

photo.rectify

## DESCRIPTION

photo.rectify rectifies an image by using the image to photo coordinate transformation matrix created by photo.2image and the rectification parameters created by photo.2target. Rectification is the process by which the geometry of an image is made planimetric. This is accomplished by mapping an image from one coordinate system to another. In photo.rectify the parameters computed by photo.2image and photo.2target are used in equations to convert x,y image coordinates to standard map coordinates for each pixel in the image. The result is an image with a standard map coordinate system, compensated for relief distortions and photographic tilt. Upon completion of the program the rectified image is deposited in a previously targeted GRASS LOCATION.

You are asked to select the file(s) within the imagery group to be rectified:

Please select the file(s) to rectify by naming an output file

                        gs13.1 in PERMANENT   gs13.orect...
                        gs14.1 in PERMANENT   .............

         (enter list by any name to get a list of existing raster maps)

    	    AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE
    	               (OR <Ctrl-C> TO CANCEL)

More than one file may be rectified at a time. Each file should have a unique output file name.

The next prompt asks you to select one of two windows:

          Please select one of the following options
          1.   Use the current window in the target location
          2.   Determine the smallest window which covers the image
          >

photo.rectify will only rectify that portion of the image that occurs within the chosen window. Only that portion will be relocated in the target database. It is therefore important to check the current window in the target LOCATION if choice number one is selected.

The process may take an hour or more depending on the size of the image, the speed of the computer, the number files, and the size and resolution of the selected window.

The rectified image will be located in the target LOCATION when the program is completed. The original unrectified files are not modified or removed.

## SEE ALSO

i.ortho.photo
photo.camera
photo.2image
photo.2target
photo.init

## AUTHOR

Mike Baba, DBA Systems, Inc.
Updated rectification and elevation map to FP 1/2002 Markus Neteler

Last changed: $Date: 2006-12-15 04:10:21 -0600 (Пт, 15 дек 2006) $